package com.sz.service;

import com.sz.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "nbbc-onlinebank")
public interface RegTranjFeign {

    @RequestMapping("/obc/onbanktran")
    public Result RegOnBankTran(@RequestParam("payerAccount")String payerAccount, @RequestParam("tradingAmount") Long tradingAmount );

}
